  <div class="row">
		    <div class="col-xs-12">
		        <div class="box box-primary">
		            <div class="box-header">
		                <h3 class="box-title">Edit Konten Statis</h3>
		            </div><!-- /.box-header -->
		            <?php echo form_open(uri_string(), array('role' => 'form', 'id' => 'form'));?>
		            <div class="box-body">
                <?php
                  if(!isset($results['id_konten_statis'])){
                ?>       
                Tidak ada data
                <?php
                  }else{
                ?>
                  <input type="hidden" value="<?=$results['id_konten_statis']?>" name="id_konten_statis">     
                  <div class="form-group">
                      <!-- <label>Judul</label>                       -->
                     	<input type="text" value="<?=$results['judul']?>" class="form-control" name="judul" placeholder="">
                  </div>
                  <div class="form-group">
                      <!-- <label>Konten</label> -->
                     	<textarea class="form-control" id="konten" name="konten" placeholder="" rows="5"><?=$results['konten']?></textarea>
                  </div>
                  <?php if (isset($_SERVER['HTTP_REFERER'])) {?>
                  <input type="hidden" name="redirurl" value="<?php echo $_SERVER['HTTP_REFERER'];?>" />
                  <?php }?>
		            </div>		                   
                    <div class="box-footer">
                      <button type="submit" class="btn btn-sm btn-primary btn-flat"><i class="fa fa-floppy-o"></i> Perbaharui</button>
                    </div>
								<?php 
                  }
                echo form_close();
                ?>
		        </div><!-- /.box -->                            
		    </div>
		</div>

		<script>
		$("#form").validate({
      rules: {
        judul: {
          required: true
        },
        konten: {
          required: true
        },
      }
    });

    CKEDITOR.replace( 'konten', {
      // Load the German interface.
      language: 'id'
    });
		</script>